package com.yunmaozj.tools.lock.interceptor;

import java.lang.reflect.Method;

/**
 * @author 钟明宏
 * @version V1.0
 * @date 2021-08-30 13:53
 **/
public class DefaultBusinessIdGenerator implements BusinessIdGenerator {

    @Override
    public String getBusinessId(Method method, Class<?> targetClass,Object[] params) {
        return method.getDeclaringClass().getName() + "#" + method.getName();
    }
}
